﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace SocialLearning
{
    
    public class AMP_Message
    {
        private int groupID;
        private int messageID;
        private string msg;
        private AMP_Group groupSender;
        private AMP_User privateSender;
        private bool ispublic;
        private DateTime time;
        private DateTime date;


        public virtual int GroupID
        {
            get { return groupID; }
            set { groupID = value; }
        }

        public virtual int MessageID
        {
            get { return messageID; }
            set { messageID = value; }
        }

        public virtual string Msg
        {
            get { return msg; }
            set { msg = value; }
        }

        public virtual AMP_Group GroupSender
        {
            get { return groupSender; }
            set { groupSender = value; }
        }

        public AMP_User PrivateSender
        {
            get { return privateSender; }
            set { privateSender = value; }
        }

        public virtual bool Ispublic
        {
            get { return ispublic; }
            set { ispublic = value; }
        }


        public virtual DateTime Time
        {
            get { return time; }
            set { time = value; }
        }


        public virtual DateTime Date
        {
            get { return date; }
            set { date = value; }
        }
    }
}
